# Set lib core link dependencies

# Define core lib sources
set(source_files
    model/sample.c
)

# Define core lib headers
set(header_files
    model/sample.h
)

set(test_sources

)

# Build core lib
build_lib(
  LIBNAME sample
  SOURCE_FILES ${source_files}
  HEADER_FILES ${header_files}
  LIBRARIES_TO_LINK ${libcore}
  TEST_SOURCES ${test_sources}
)

# Google Test.
build_ut_case(
  NAME ut-for-sample
  SOURCE_FILES test/sample-test.cc
  LIBRARIES_TO_LINK
    gtest_main
    ${libcore}
    ${libsample}
)
